﻿@using WaterRegimenMonitor.Web.Domain
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <title>@ViewBag.Title</title>
    <link type="text/css" rel="stylesheet" href="@Url.Content("~/Content/Styles/Layout.css")" media="all">
    <link type="text/css" rel="stylesheet" href="@Url.Content("~/Content/Styles/Site.css")" media="all">
    <link href="@Url.Content("~/Scripts/ExtJS/resources/css/ext-all-gray.css")" rel="stylesheet" type="text/css" />
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script src="@Url.Content("~/Scripts/JQuery/jquery-1.6.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/JQuery/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/JQuery/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/menu.js")" type="text/javascript"></script>
</head>
<body>
    <div id="container">
        <header>
            <a href="@Url.Action("Index", "Home")"><div id="logo">&nbsp;</div></a>
            <div id="login_menu">
                <ul>
                    <li>@Helper.CurrentPrincipal.User.Name </li>
                    <li>|</li>
                    <li><a href="@Url.Action("Logout", "Home")">退出</a></li>
                </ul>
            </div>
        </header>
        <div id="main">
            <div id="topBarPlace">
            </div>
            <div id="sidemenu">
                @Html.Partial("Menu", new WaterRegimenMonitor.Web.Models.Common.MenuViewModel())
            </div>
            <div id="content">
                @RenderBody()
                <footer>
                    <ul>
                        <li>XXXXXX &copy; 版权所有. </li>
                    </ul>
                </footer>
            </div>
        </div>
    </div>
</body>
</html>
